package paytreasure.service;

import java.util.HashMap;
import java.util.List;

import paytreasure.po.Consume;
import paytreasure.po.Income;
import paytreasure.vo.ResultVo;

public interface IncomeService {
	/**
	 * 
	 * @param 
	 * @return 保存
	 * @return_type: ResultVo
	 *
	 */
	 public ResultVo saveIncome(Income income);
	 
	 /**
	 * 
	 * @param 
	 * @return 修改
	 * @return_type: ResultVo
	 *
	 */
	 public ResultVo updateIncome(Income income);
	 
	 /**
	 * @return 修改页面根据ID查询
	 * @return_type: ResultVo
	 * */
	 public ResultVo getById(String incomeId);
	 
	 /**
	 * @return 月账单查询
	 * @return_type: ResultVo
	 * */
	 public ResultVo queryBymonth(HashMap<String, String> map);
	 
	 /**
	 * @return 5个月的消费情况
	 * @return_type: List<Income>
	 * */
	public List<Income> queryIncome();
	/**
	 * @return 5个月的收入情况
	 * @return_type: List<Consume>
	 * */
	public List<Consume> queryConsume();
}
